<!DOCTYPE html>
{% load static %}
<html class="no-js" lang="zxx">
<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title> 注册_高校培养方案 </title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="manifest" href="site.webmanifest">
    <link rel="shortcut icon" type="image/x-icon" href="{% static 'excleapp/img/logo/loder.png' %}">
    <link rel="stylesheet" href="{% static 'excleapp/css/login.css' %}">

</head>

<body>
<div class="loginBox">
    <h1>register</h1>
    <form action="/registered/" method="post" enctype="multipart/form-data">
        {% csrf_token %}
        <div class="item">
            <input type="text" name="userid" value="123" required>
            <label>账号</label>
            {% if isexist %}
                    <p class="message"><font size="5" color="red">该账号已存在</font></p>
            {% endif %}
        </div>
        <div class="item">
            <input type="text" name="name" value="admin" required>
            <label>姓名</label>
        </div>
        <div class="item">
            <input type="password" name="password" value="123456" required>
            <label>密码</label>
        </div>
        <div class="item">
            <input type="text" name="major" value="计算机科学与技术" required>
            <label>专业</label>
        </div>
        <div class="end">
            <span>
                <input type="checkbox" id="rem" name="keep-login">
                <label for="rem">我已阅读并同意</label>
                <a href="#" style="margin-left:0;">服务条款</a>、<a href="#"> 隐私政策</a>
            </span>
            <span class="end_a">
                <span style="color:#666;">已有账号？</span>
                <a href="/login">去登录</a>
            </span>
        </div>
        <button class="btn" type="submit">注册
            <span></span>
            <span></span>
            <span></span>
            <span></span>
        </button>
        <h6>{{ tip }}</h6>
    </form>
</div>
</body>
</html>
